Skip to content

Tauri#78

Draft
d0z4rt wants to merge 5 commits intosatelllte:mainfrom
d0z4rt:tauri
Draft

Tauri#78
d0z4rt wants to merge 5 commits intosatelllte:mainfrom
d0z4rt:tauri

Conversation

@d0z4rt
Copy link
Copy Markdown

@d0z4rt d0z4rt commented May 24, 2024

Heya, I thought it would be nice to be able to run the app in 'standalone' using Tauri. This is a work-in-progress and I wanted to open up the discussion to see if this idea might interests you :)

see: https://tauri.app/

image

@d0z4rt d0z4rt marked this pull request as draft May 24, 2024 07:54
@satelllte
Copy link
Copy Markdown
Owner

satelllte commented May 24, 2024

Hey @d0z4rt 👋🏻
This is great idea! How easy do you think it would be to finish this?

EDIT: I'm thinking, maybe it might be just easier to add support for Progressive Web App (PWA) for this app?

@d0z4rt
Copy link
Copy Markdown
Author

d0z4rt commented May 24, 2024

I don't think it's going be too complicated since Tauri is just used to run the web app and doesn't require additional code, tho in the future you could make fancy exporting methods or even move some calculations to Rust but you'll need a js fallback in order for the app to still work in a browser (using OffscreenCanvas for example as you already mentioned in one of your issue).
In short you might say it's already done since you can compile an executable and run it ^^

Imo the hardest part of adding tauri to this repo is handling builds with GitHub actions, there is some guidance here but I haven't tried yet.

As for PWA they're interesting on mobile but sadly it's not fully supported on desktop yet. See: PWA Browser support

@satelllte
Copy link
Copy Markdown
Owner

OK, I see. I'll take a look later then...

@d0z4rt
Copy link
Copy Markdown
Author

d0z4rt commented May 27, 2024

Hey,
I added the basic workflow to compile the app for Mac (intel and arm), Ubuntu and Windows.
The workflow needs to be run manually (I used the workflow_dispatch event) so you can play around with it.

It uses a matrix in order to build for all platforms and produce a draft release with all the artifacts. You can also disable this behavior and use the action actions/upload-artifact like you already did on your ci.yml workflow. Read more over tauri-action

image

@satelllte
Copy link
Copy Markdown
Owner

@d0z4rt Hi! I was thinking about this for a while and the current UI of the app feels like not that well prepared to be a desktop one. It's mostly because of the scroll presence, while for the desktop I think it should be more compact and have some kind of panels. So for now, I'll put this idea on hold, and I hope you'll understand.

Thanks for your efforts! I'll leave this PR as is and come back later to it when it's time for this change :)

@d0z4rt
Copy link
Copy Markdown
Author

d0z4rt commented Jun 27, 2025

Heya, no worries I understand 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants